Optimal. Leaf size=52 \[ -c e^{a/b} (a+b \log (c x))^p \left (\frac{a+b \log (c x)}{b}\right )^{-p} \text{Gamma}\left (p+1,\frac{a+b \log (c x)}{b}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0493041, antiderivative size = 52, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {2309, 2181} \[ -c e^{a/b} (a+b \log (c x))^p \left (\frac{a+b \log (c x)}{b}\right )^{-p} \text{Gamma}\left (p+1,\frac{a+b \log (c x)}{b}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2309
Rule 2181
Rubi steps
\begin{align*} \int \frac{(a+b \log (c x))^p}{x^2} \, dx &=c \operatorname{Subst}\left (\int e^{-x} (a+b x)^p \, dx,x,\log (c x)\right )\\ &=-c e^{a/b} \Gamma \left (1+p,\frac{a+b \log (c x)}{b}\right ) (a+b \log (c x))^p \left (\frac{a+b \log (c x)}{b}\right )^{-p}\\ \end{align*}
Mathematica [A] time = 0.0329271, size = 48, normalized size = 0.92 \[ -c e^{a/b} \left (\frac{a}{b}+\log (c x)\right )^{-p} (a+b \log (c x))^p \text{Gamma}\left (p+1,\frac{a}{b}+\log (c x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.054, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( a+b\ln \left ( cx \right ) \right ) ^{p}}{{x}^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.25913, size = 54, normalized size = 1.04 \begin{align*} -\frac{{\left (b \log \left (c x\right ) + a\right )}^{p + 1} c e^{\frac{a}{b}} E_{-p}\left (\frac{b \log \left (c x\right ) + a}{b}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b \log \left (c x\right ) + a\right )}^{p}}{x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \log{\left (c x \right )}\right )^{p}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x\right ) + a\right )}^{p}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]